function setdisabled() {
        if(!document.getElementById('cust1on').checked) {
            document.getElementById('cust1name').disabled = true;
            document.getElementById('cust1name').className = 'boxdisabled';
        } else if(document.getElementById('cust1on').checked) {
            document.getElementById('cust1name').disabled = false;
            document.getElementById('cust1name').className = 'enabled';
        }
        if(!document.getElementById('cust2on').checked) {
            document.getElementById('cust2name').disabled = true;
            document.getElementById('cust2name').className = 'boxdisabled';
        } else if(document.getElementById('cust2on').checked) {
            document.getElementById('cust2name').disabled = false;
            document.getElementById('cust2name').className = 'enabled';
        }
        if(!document.getElementById('cust3on').checked) {
            document.getElementById('cust3name').disabled = true;
            document.getElementById('cust3name').className = 'boxdisabled';
        } else if(document.getElementById('cust3on').checked) {
            document.getElementById('cust3name').disabled = false;
            document.getElementById('cust3name').className = 'enabled';
        }
}
function togglegooglecheck() {
        document.getElementById('opengooglenewwindow').disabled = !document.getElementById('allowgoogle').checked;
}